
#ifndef _MEMBER_BSTATUSBAR_H_
#define _MEMBER_BSTATUSBAR_H_

#include <BIcon>
#include <BImage>
#include <BTextFormat>
#include <BStatusBar>
#include "ITextBlock.h"
#include "IAlignment.h"

namespace BWE
{
	class member_BStatusBar : public IAlignment
	{
	public:
		member_BStatusBar(BStatusBar* statusBar);
		~member_BStatusBar();

		void freshRects();

		BStatusBar*			boss;
		BString				text;
		BColor				color;
		Graph				graph;
		BIconHolder			icon;
		BImageHolder		image;
		BSize				imageSize;
		BReal				timeout;
		BReal				lastTick;
		BReal				fadeTime;
		BReal				alpha;

		bool				dirty;
		ITextBlock			block;
		BSize				textSize;
	};
}

#endif
